public class Break01{
	public static void main(String[] args) {
		int count=1;
		while(true){
		int i=(int)(Math.random()*100)+1;
		count++;
		if (i==97){
			System.out.println("i="+i+"\t"+"次数："+count);
			break;
		}
	}
	}
}